#pragma once
#include "base.hpp"
void PrintStd(const char *str);

class Boom:public ToolBase{
public:
	char MapChar() const {return '@';}
	Color MapColor() const {return White;};
	bool PassFunction(User& user,std::vector<Land>& map,std::unordered_map<int,User*>& users){
		PrintStd("你被炸弹炸伤了");
		user.SetStatus(Hospital);
		user.SetPos(HOSPITAL_POS);
		return true;
	};
	void PutFunction(int putPos,User& user,std::vector<Land>& map,std::unordered_map<int,User*>& users){};
	ToolType GetType(){return ToolType::Boom;};
};
